package com.zhixiang.xaec.entity.safebase.relatedparty;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.cfg.Comment;

import com.googlecode.jsonplugin.annotations.JSON;
import com.zhixiang.xaec.entity.BaseEntity;

/**
 * 
 * @author XULE 
 * @version 2016-12-19
 * 
 */
@Entity
@Table(name = "SAFEBASE_AgreementContract")
@Comment("协议合同模板")
public class AgreementContract extends BaseEntity{
	
	@Comment("协议名称")
	private String agreementName;
	@Comment("适用范围")
	@Column(length=1000)
	private String adaptiveRange;
	@Comment("上传时间")
	private Date uploadDate;
	public String getAgreementName() {
		return agreementName;
	}
	public void setAgreementName(String agreementName) {
		this.agreementName = agreementName;
	}
	public String getAdaptiveRange() {
		return adaptiveRange;
	}
	public void setAdaptiveRange(String adaptiveRange) {
		this.adaptiveRange = adaptiveRange;
	}
	@JSON(format="yyyy-MM-dd")
	public Date getUploadDate() {
		return uploadDate;
	}
	public void setUploadDate(Date uploadDate) {
		this.uploadDate = uploadDate;
	}
	
	
	
}
